package cn.stylefeng.guns.cloud.workflow.modular.model.params;

import cn.stylefeng.guns.cloud.model.validator.BaseValidatingParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 任务信息参数
 *
 * @Author xuyuxiang
 * @Date 2019/11/14 14:39
 **/
@Data
@ApiModel
public class TaskParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;

    /**
     * 流程实体id
     */
    @ApiModelProperty("流程实体id")
    private String processInstanceId;

    /**
     * 流程名称
     */
    @ApiModelProperty("流程名称")
    private String processName;

    /**
     * 申请人id
     */
    @ApiModelProperty("申请人id")
    private String applyUserId;

    /**
     * 代理人或候选人id
     */
    @ApiModelProperty("代理人或候选人id")
    private String assigneeOrCandidateUserId;

    /**
     * 候选组id集合
     */
    @ApiModelProperty("候选组id集合")
    private List<String> candidateGroupIdList;
}
